package com.cn.ant.modules.wechat.dao;

import com.cn.ant.common.persistence.MyBatisRepository;
import com.cn.ant.modules.wechat.entity.TkMovieCustom;
import org.apache.ibatis.annotations.Param;

import java.util.List;
import java.util.Map;

/**
 * 泰康免费观影客户信息Mapper接口
 * @author AntDream
 * @version 2015-05-09
 */
@MyBatisRepository
public interface TkMovieCustomMapper{

    public int delete(String id);

    public int insert(TkMovieCustom record);

    public TkMovieCustom get(String id);

    public int update(TkMovieCustom record);

    public List<TkMovieCustom> query(Map<String,Object> param);

    public int queryCount(Map<String, Object> param);

    public List<Map<String,Object>> queryTotalByArea(Map<String, Object> param);

    public TkMovieCustom queryByMobile(String mobile);

    public List<TkMovieCustom> queryByCardNo(@Param("cardNo") String cardNo);
}
